import { PaginationParams } from './api-common';

export interface FriendlyLink {
  id: string;
  name: string;
  url: string;
  order: number;
  isActive: number;
  createdAt: string;
  updatedAt: string;
}

export interface FriendlyLinkCreateRequest {
  name: string;
  url: string;
  order?: number;
  isActive?: number; // 0/1
}

export interface FriendlyLinkUpdateRequest extends Partial<FriendlyLinkCreateRequest> {
  id: string;
}

export interface FriendlyLinkListParams extends PaginationParams {
  name?: string;
  isActive?: number;
}